FROM alpine:520

MAINTAINER Aplntying <Aplntying@gamil.com>

WORKDIR /root

#https://gocn.io/question/153
# fix library dependencies
# otherwise golang binary may encounter 'not found' error
RUN mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2

COPY ./hello /root/hello

CMD ["./hello"]
